// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Navigation from 'vue-navigation'
import fastclick from 'fastclick';
import axios from 'axios'
import store from './store/index'
import cell_goup from './components/model/item_gourp/cell_goup'
import msg_item from './components/model/item_gourp/msg_item'
import Transition from './components/model/Transition'
import contacts_item from './components/model/item_gourp/Contacts_item'
import better_scroll from './components/model/item_gourp/better_scroll'
import msgTopBar from './components/pages/msgBox/msgTopBar'
import VueWaves from 'vue-waves/dist/vue-waves.js'
import tool from './assets/js/tool'

import { MessageBox, Actionsheet } from 'mint-ui'

import 'mint-ui/lib/style.css'
import "@/assets/css/resize.css"
import "@/assets/css/pulish.css"
import "@/assets/css/iconfont.css"
import "@/assets/sass/index.scss"
import "@/assets/css/border.css"


Vue.prototype.tool = tool

fastclick.attach(document.body);   //解决h5移动端点击延迟300ms是问题
Vue.use(VueWaves);

Vue.use(VueWaves, {
  name: 'waves',   // Vue指令名称
  duration: 500,  // 涟漪效果持续时间
  delay: 200      // 延时显示涟漪效果
})


Vue.use(Navigation,{router})
// Vue.use(BScroll)
Vue.component('msg-item', msg_item)
Vue.component('contacts-item', contacts_item)
Vue.component('cell-goup', cell_goup)
Vue.component('better-scroll', better_scroll)
Vue.component('my-transition', Transition)
Vue.component('msg-top-bar', msgTopBar)
Vue.component('my-actionsheet', Actionsheet)






Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})

